package com.kgc.manger.service.impl;

import com.kgc.dao.TbContentCategoryMapper;
import com.kgc.entity.TbContentCategory;
import com.kgc.entity.TbContentCategoryExample;
import com.kgc.manger.service.ContentCatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ContentCatServiceImpl implements ContentCatService {
    @Autowired
    private TbContentCategoryMapper tbContentCategoryMapper;
    @Override
    public List<TbContentCategory> findAll() {
        TbContentCategoryExample example=new TbContentCategoryExample();
        return tbContentCategoryMapper.selectByExample(example);
    }
}
